import request from '@/utils/request.js'

/***
 * 技术规则相关
 */

// 获取最新首推技术规则
export const getLatestRuleApi = (params) => request({ url: `/web/rule/getLatestRule`, method: 'get', params })

// 获取技术规则类型
export const getRuleTypeListApi = (params) => request({ url: `/web/rule/getRuleTypeList`, method: 'get', params })

// 查询技术规则列表
export const getListApi = (params) => request({ url: `/web/rule/list`, method: 'get', params })

// 查询技术规则详情
export const getDetailApi = (id) => request({ url: `/web/rule/${id}`, method: 'get' })
